package cate.game.play.proce.result;

import cate.common.table.d.GDPlay;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("血量最大值变更结果")
public class HpMaxChangeResult extends ActionResult<HpMaxChangeResult> {

    @NoteField("血量")
    public long hp;

    @NoteField("血量最大值")
    public long hpm;

    public HpMaxChangeResult() {
        this.type = GDPlay.ResultType.HP_MAX_CHANGE;
    }


    public HpMaxChangeResult hpSet(double hp) {
        this.hp = (long) hp;
        return this;
    }

    public HpMaxChangeResult hpMaxSet(double hpm) {
        this.hpm = (long) hpm;
        return this;
    }


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        return sb.toString();
    }
}
